<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<div class="layui-tab layui-tab-brief" th:fragment="tab">
    <ul class="layui-tab-title">
        <li th:class="${flag == 1 ? 'layui-this' : ''}"><a th:href="|/company/detail.action?companyId=${company.companyId==null?0:company.companyId}&flag=1|"
                                                           lay-text="公司信息">公司信息</a></li>
        <li th:class="${flag == 2 ? 'layui-this' : ''}" th:if="${company.companyId > 0}"><a
                th:href="|/company/companyMaterial.action?companyId=${company.companyId}&flag=2|" lay-text="公司资料">公司资料</a></li>
        <li th:class="${flag == 3 ? 'layui-this' : ''}" th:if="${company.companyId > 0}"><a
                th:href="|/company/companyFinance.action?companyId=${company.companyId}&flag=3|" lay-text="财务信息">财务信息</a></li>
    </ul>
</div>

</html>